package model;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * techer entity. @author MyEclipse Persistence Tools
 */

public class techer  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private course course;
     private String name;
     private String password;
     private Integer sex;
     private String birthday;
     private String professional;
     private Set courses = new HashSet(0);


    // Constructors

    /** default constructor */
    public techer() {
    }

    
    /** full constructor */
    public techer(course course, String name, String password, Integer sex, String birthday, String professional, Set courses) {
        this.course = course;
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.birthday = birthday;
        this.professional = professional;
        this.courses = courses;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public course getCourse() {
        return this.course;
    }
    
    public void setCourse(course course) {
        this.course = course;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getSex() {
        return this.sex;
    }
    
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return this.birthday;
    }
    
    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getProfessional() {
        return this.professional;
    }
    
    public void setProfessional(String professional) {
        this.professional = professional;
    }

    public Set getCourses() {
        return this.courses;
    }
    
    public void setCourses(Set courses) {
        this.courses = courses;
    }
   








}